//
//  GoodMessageTableViewCell.m
//  MyProject
//
//  Created by dllo on 15/10/31.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "GoodMessageTableViewCell.h"

@implementation GoodMessageTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.messageLable = [[UILabel alloc]init];
        [self.contentView addSubview:_messageLable];
        self.messageLable.numberOfLines = 0;
        self.messageLable.font = [UIFont systemFontOfSize:14];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.messageLable.frame = CGRectMake(10, 10, self.contentView.bounds.size.width - 20, 20);
    [self.messageLable sizeToFit];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
